package domain;

public class Structure {

    private String name;
    private String author;
    private Architecture architecture;

    protected Structure(Architecture architecture) {
        this.architecture = architecture;
    }

    public Architecture getArchitecture() {
        return architecture;
    }

    protected void setArchitecture(Architecture architecture) {
        this.architecture = architecture;
    }

    public String getName() {
        return name;
    }

    protected void setName(String name){
        if (!name.equals("")) {
            this.name = name;
        }
    }

    public String getAuthor() {
        return author;
    }

    protected void setAuthor(String author){
        if (!author.equals("")) {
            this.author = author;
        }
    }
}
